package com.yeeKa.domain;

import java.math.BigDecimal;

import com.yeeKa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yeeKa.common.annotation.Excel;

/**
 * 销售单对象 sale_table
 * 
 * @author ruoyi
 * @date 2023-09-04
 */
public class SaleTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "id")
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "日期")
    private String date;

    /** $column.columnComment */
    @Excel(name = "颜色")
    private String color;

    /** $column.columnComment */
    @Excel(name = "名称")
    private String model;

    /** $column.columnComment */
    @Excel(name = "单位")
    private String unit;

    /** $column.columnComment */
    @Excel(name = "数量")
    private Integer number;

    /** $column.columnComment */
    @Excel(name = "价格")
    private BigDecimal price;

    /** $column.columnComment */
    private String param1;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDate(String date)
    {
        this.date = date;
    }

    public String getDate()
    {
        return date;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setNumber(Integer number) 
    {
        this.number = number;
    }

    public Integer getNumber() 
    {
        return number;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setParam1(String param1) 
    {
        this.param1 = param1;
    }

    public String getParam1() 
    {
        return param1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("color", getColor())
            .append("model", getModel())
            .append("unit", getUnit())
            .append("number", getNumber())
            .append("price", getPrice())
            .append("param1", getParam1())
            .toString();
    }
}
